←Select platform

SerializableDictionary<TKey,TValue> Class

Summary

Represents a serializable collection of keys and values.

Syntax

C#
VB
C++
[SerializableAttribute()] 
[XmlRootAttribute("custom")] 
public class SerializableDictionary<TKey, TValue> : IXmlSerializable, Dictionary<TKey, TValue> 
  
<XmlRootAttribute("custom")> 
<SerializableAttribute()> 
Public Class SerializableDictionary 
    (Of TKey,TValue)  
   Inherits System.Collections.Generic.Dictionary(Of TKey,TValue) 
   Implements System.Collections.Generic.ICollection(Of KeyValuePair(Of TKey,TValue)), System.Collections.Generic.IDictionary(Of TKey,TValue), System.Collections.Generic.IEnumerable(Of KeyValuePair(Of TKey,TValue)), System.Collections.Generic.IReadOnlyCollection(Of KeyValuePair(Of TKey,TValue)), System.Collections.Generic.IReadOnlyDictionary(Of TKey,TValue), System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
[XmlRootAttribute("custom")] 
[SerializableAttribute()] 
generic<typename TKey> 
generic<typename TValue> 
public ref class SerializableDictionary : public System.Collections.Generic.Dictionary<TKey,TValue>, System.Collections.Generic.ICollection<KeyValuePair<TKey,TValue>>, System.Collections.Generic.IDictionary<TKey,TValue>, System.Collections.Generic.IEnumerable<KeyValuePair<TKey,TValue>>, System.Collections.Generic.IReadOnlyCollection<KeyValuePair<TKey,TValue>>, System.Collections.Generic.IReadOnlyDictionary<TKey,TValue>, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable   

Type Parameters

TKey
The type of the key.

TValue
The type of the value.

Example

For an example refer to Log

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Logging Assembly